﻿using BlogDemo.Application.PostApp.Resource;
using BlogDemo.Core.Domain;
using System;
using System.Collections.Generic;

namespace BlogDemo.Application.PostApp
{
    public interface IPostAppService//：IAppService<IDto, Post>
    {
        void Add(PostAddResourceModel postAdd);

        IEnumerable<PostAddResourceModel> GetAll(int blogId);

        PostAddResourceModel  Get(int postId);

        bool IsBlogExist(int blogId);
    }
}
